package MessagePacks;

import java.util.ArrayList;
import java.util.Calendar;

/**
 *@author Juan Alapin - 324507516
 *@author Giora Yaffe - 036551281
 *@author Shachar Gritzman - 300174026
 *@author Nir Porat - 021515580
*/

public class getStatisticReport extends MessagePack{

	public static final int weekly=1;
	public static final int monthly=2;
	private static final long serialVersionUID = 1L;
	private String startDate;
	private String endDate;
	private int periodOfTime;
	private ArrayList<String> NumOfActive; //Array Of Number Of Active Processes Per Period Week/Month
	private ArrayList<String> NumOfFreeze; //Array Of Number Of Frozen Processes Per Period Week/Month
	private ArrayList<String> NumOfEnded; //Array Of Number Of Ended Processes Per Period Week/Month
	private ArrayList<String> NumOfTeminated; //Array Of Number Of Terminated Processes Per Period Week/Month
	private ArrayList<String> DaysOfEnded; //Array Of Number Of Days Invested In Ended Processes Per Period Week/Month
	private ArrayList<String> DaysOfTerminated;  //Array Of Number Of Days Invested In Terminated Processes Per Period Week/Month
	
	/**
	 * Constructor
	 * @param period - period of time for the statistic
	 * @param start - start time
	 * @param end - end time
	 */
	public getStatisticReport(int period,String start,String end) {
		super(getStatData);
		startDate=start;
		endDate=end;
		periodOfTime=period;
		NumOfActive=null;
		NumOfFreeze=null;
		NumOfEnded=null;
		NumOfTeminated=null;
		DaysOfEnded=null;
		DaysOfTerminated=null;
	}
	
	public String getStartDate(){
		return(startDate);
	}
	
	public String getEndDate(){
		return(endDate);
	}
	
	public int getperiodOfTime(){
		return(periodOfTime);
	}
	
	public void setperiodOfTime(int period){
		periodOfTime=period;
	}
	
	public ArrayList<String> getNumOfActive(){
		return(NumOfActive);
	}
	
	public void setNumOfActive(ArrayList<String> NumOfActive){
		this.NumOfActive=NumOfActive;
	}
	
	public ArrayList<String> getNumOfFreeze(){
		return(NumOfFreeze);
	}
	
	public void setNumOfFreeze(ArrayList<String> NumOfFreeze){
		this.NumOfFreeze=NumOfFreeze;
	}
	
	public ArrayList<String> getNumOfEnded(){
		return(NumOfEnded);
	}
	
	public void setNumOfEnded(ArrayList<String> NumOfEnded){
		this.NumOfEnded=NumOfEnded;
	}
	
	public ArrayList<String> getNumOfTeminated(){
		return(NumOfTeminated);
	}
	
	public void setNumOfTeminated(ArrayList<String> NumOfTeminated){
		this.NumOfTeminated=NumOfTeminated;
	}
	
	public ArrayList<String> getDaysOfEnded(){
		return(DaysOfEnded);
	}
	
	public void setDaysOfEnded(ArrayList<String> DaysOfEnded){
		this.DaysOfEnded=DaysOfEnded;
	}
	
	public ArrayList<String> getDaysOfTerminated(){
		return(DaysOfTerminated);
	}
	
	public void setDaysOfTerminated(ArrayList<String> DaysOfTerminated){
		this.DaysOfTerminated=DaysOfTerminated;
	}
}
